﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 差旅数据模型
        /// </summary>

        public class TravelFlowModel:IIdentity
        {
                /// <summary>
                /// 获取或设置标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public String Id { get; set; }

                /// <summary>
                /// 获取或设置流程状态
                /// </summary>
                /// <value>
                /// 流程状态
                /// </value>
                public string State { get; set; }

                /// <summary>
                /// 获取或设置出差员工标识
                /// </summary>
                /// <value>
                /// 出差员工标识
                /// </value>
                public String TravelEmployeeId { get; set; }

                /// <summary>
                /// 获取或设置审批员工标识
                /// </summary>
                /// <value>
                /// 审批员工标识
                /// </value>
                public String ApproveEmployeeId { get; set; }

                /// <summary>
                /// 获取或设置计划内容
                /// </summary>
                /// <value>
                /// 计划内容
                /// </value>
                public String Content { get; set; }

                

                /// <summary>
                /// 获取或设置计划修改意见
                /// </summary>
                /// <value>
                /// 计划修改意见
                /// </value>
                public String Modify { get; set; }

                /// <summary>
                /// 获取或设置计划借款金额
                /// </summary>
                /// <value>
                /// 计划借款金额
                /// </value>
                public Double LendAmount { get; set; }

                /// <summary>
                /// 获取或设置开始时间
                /// </summary>
                /// <value>
                /// 开始时间
                /// </value>
                public DateTime StartTime { get; set; }

                /// <summary>
                /// 获取或设置结束时间
                /// </summary>
                /// <value>
                /// 结束时间
                /// </value>
                public DateTime EndTime { get; set; }

                /// <summary>
                /// 获取或设置备注
                /// </summary>
                /// <value>
                /// 备注
                /// </value>
                public String Memo { get; set; }
        }
}